package com.homework4.demo1;

public class YAMAHA implements IEngine{
    @Override
    public void start() {
        System.out.println(
                "YAMAHA启动，速度60");
    }

    @Override
    public void stop() {System.out.println(
            "YAMAHA停止，速度0");
    }

    @Override
    public void speedup() {
        System.out.println(
                "YAMAHA加速，速度80");
    }
}
